package cn.travel.yoyo.guide.pojo.community;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 悠游社区约伴同游信息表
 */
public class Community_partner implements Serializable {

    // 约伴同游信息编号
    private Integer id;
    // 版块编号
    private Integer editId;
    // 回复的信息id号
    private Integer pid;
    // 发起人id号
    private Integer userId;
    // 约伴同游信息标题
    private String title;
    // 约伴同游信息内容id
    private Integer contId;
    // 发信息时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date pdate;
    // 作者
    private String writer;
    // 头像路径
    private String headPortrait;
    // 信息查看量
    private Integer viewCount;
    // 信息回复量
    private Integer replyCount;
    // 信息点赞数
    private Integer fabulous;
    // 信息收藏数
    private Integer collection;

    public Community_partner() {
    }

    public Community_partner(Integer id, Integer editId, Integer pid, Integer userId, String title, Integer contId, Date pdate, String writer, String headPortrait, Integer viewCount, Integer replyCount, Integer fabulous, Integer collection) {
        this.id = id;
        this.editId = editId;
        this.pid = pid;
        this.userId = userId;
        this.title = title;
        this.contId = contId;
        this.pdate = pdate;
        this.writer = writer;
        this.headPortrait = headPortrait;
        this.viewCount = viewCount;
        this.replyCount = replyCount;
        this.fabulous = fabulous;
        this.collection = collection;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getEditId() {
        return editId;
    }

    public void setEditId(Integer editId) {
        this.editId = editId;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getContId() {
        return contId;
    }

    public void setContId(Integer contId) {
        this.contId = contId;
    }

    public Date getPdate() {
        return pdate;
    }

    public void setPdate(Date pdate) {
        this.pdate = pdate;
    }

    public String getWriter() {
        return writer;
    }

    public void setWriter(String writer) {
        this.writer = writer;
    }

    public String getHeadPortrait() {
        return headPortrait;
    }

    public void setHeadPortrait(String headPortrait) {
        this.headPortrait = headPortrait;
    }

    public Integer getViewCount() {
        return viewCount;
    }

    public void setViewCount(Integer viewCount) {
        this.viewCount = viewCount;
    }

    public Integer getReplyCount() {
        return replyCount;
    }

    public void setReplyCount(Integer replyCount) {
        this.replyCount = replyCount;
    }

    public Integer getFabulous() {
        return fabulous;
    }

    public void setFabulous(Integer fabulous) {
        this.fabulous = fabulous;
    }

    public Integer getCollection() {
        return collection;
    }

    public void setCollection(Integer collection) {
        this.collection = collection;
    }


}